package cc.zy.base.hr.service.impl;

import cc.zy.base.hr.entity.Execute;
import cc.zy.base.hr.mapper.ExecuteMapper;
import cc.zy.base.hr.service.IExecuteService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author yan
 * @time 2022/03/10 21:23:01
 */
/**
 * 标签
 * Service
 * @author yan
 * @date 2021-01-18 10:51:13
 */
@Service
@RequiredArgsConstructor
@Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
public class ExecuteServiceImpl extends ServiceImpl<ExecuteMapper, Execute> implements IExecuteService{

    @Override
    public void updateExecute(Execute execute) {
        baseMapper.updateById(execute);
    }
}
